using System.Collections;
using System.Collections.Generic;
using UnityEngine;


namespace GameLogic.AbilitySystem.Tags
{
    /// <summary>
    /// 标签接口
    /// </summary>
    public class ITag
    {
        /// <summary>
        /// 标签集合
        /// </summary>
        public HashSet<string> Tags;

        /// <summary>
        /// 有标签
        /// </summary>
        /// <param name="tag"></param>
        /// <returns></returns>
        public bool ContainsTag(string tag)
        {
            return Tags.Contains(tag);
        }

    } 
}
